.page{
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: $page-background-color;
}

.header{
    background-color: #fff;
    padding: $space;
    display: flex;
    align-items: center;
    .search{
        flex: 1;
        height: 88px;
        border-radius: 44px;
        background-color: rgb(241, 241, 241);
        display: flex;
        align-items: center;
        padding: 0 44px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        .icon{
            display: block;
            width: 40px;
        }
        
        .tips{
            margin-left: 10px;
            color: #999;
        }
    }

    .mode{
        color: $color-primary;
        font-weight: bold;
    }
}

.body{
    flex: 1;
    position: relative;
    .wrap{
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        overflow-y: auto;
    }
}

.nav{
    position: absolute;
    right: $space;
    top: $space;
    font-size: 32px;
    display: flex;
    align-items: center;
    .icon{
        display: block;
        width: 30px;
        margin-right: 10px;
    }     
}

.price{
    font-size: 36px;
    color: $color-highlight;
}

.list{
    .main{
        padding: $space;
        background-color: #fff;
        border-radius: 8px;
    }

    
    margin-top: 30px;
    position: relative;

    .name{
        font-weight: bold;
        font-size: 32px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

}

.labels{
    color: #999;
    font-size: 28px;
    margin-top: 12px;
}

.devices{
    display: flex;
    .device{
        padding: 10px 15px;
        background-color: #f1f1f1;
        color: #000;
        border-radius: 6px;
        margin-left: 10px;
        &:first-of-type{
            margin-left: 0;
        }
    }
}

.mapDevices{
    background-color: #fff;
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 0 10px 2px rgba(184, 183, 183, 0.3);
    .device{
        color: #000;
        margin-top: 10px;
        &:first-of-type{
            margin-top: 0;
        }
    }
}



.free{
    font-weight: bold;
    color: #4fc08d;
}


.mapDevice{
    position: fixed;
    z-index: 2;
    bottom: $space;
    left: $space;
    right: $space;
    background-color: #fff;
    padding: $space;
    border-radius: 8px;

    .name{
        font-weight: bold;
        font-size: 32px;
    }
}